package com.dc.model;

import java.util.Date;

public class Rent {
    // 购入id
    private Integer rent_id;
    // 花卉id
    private Integer flower_id;
    // 客户id
    private Integer client_id;
    // 单价
    private Integer rent_unit_price;
    // 数量
    private Integer count;
    // 总价
    private Integer total_price;
    // 购入时间
    private Date rent_time;
    // 创建时间
    private Date create_time;
    // 更新时间
    private Date update_time;
    // 乐观锁
    private Integer version;
    // 是否删除
    private Integer is_delete;

    public Integer getRent_id() {
        return rent_id;
    }

    public void setRent_id(Integer rent_id) {
        this.rent_id = rent_id;
    }

    public Integer getFlower_id() {
        return flower_id;
    }

    public void setFlower_id(Integer flower_id) {
        this.flower_id = flower_id;
    }

    public Integer getClient_id() {
        return client_id;
    }

    public void setClient_id(Integer client_id) {
        this.client_id = client_id;
    }

    public Integer getRent_unit_price() {
        return rent_unit_price;
    }

    public void setRent_unit_price(Integer rent_unit_price) {
        this.rent_unit_price = rent_unit_price;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getTotal_price() {
        return total_price;
    }

    public void setTotal_price(Integer total_price) {
        this.total_price = total_price;
    }

    public Date getRent_time() {
        return rent_time;
    }

    public void setRent_time(Date rent_time) {
        this.rent_time = rent_time;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(Integer is_delete) {
        this.is_delete = is_delete;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Rent{");
        sb.append("rent_id=").append(rent_id);
        sb.append(", flower_id=").append(flower_id);
        sb.append(", client_id=").append(client_id);
        sb.append(", rent_unit_price=").append(rent_unit_price);
        sb.append(", count=").append(count);
        sb.append(", total_price=").append(total_price);
        sb.append(", rent_time=").append(rent_time);
        sb.append(", create_time=").append(create_time);
        sb.append(", update_time=").append(update_time);
        sb.append(", version=").append(version);
        sb.append(", is_delete=").append(is_delete);
        sb.append('}');
        return sb.toString();
    }
}
